package com.yuan.department;

import com.yuan.department.entity.Emp;
import com.yuan.department.service.IBaseService;
import com.yuan.department.service.impl.EmpServiceImpl;
import org.junit.Test;

import java.sql.SQLException;
import java.util.List;

/**
 * @program: Train
 * @description:
 * @author: yuan_boss
 * @create: 2022-11-23 18:39
 **/
public class EmpServiceImplTest {
    private IBaseService<Emp> baseService = new EmpServiceImpl();

    @Test
    public void list() throws SQLException {
        List<Emp> list = baseService.list();
        list.forEach(System.out::println);
    }
}
